package core;

import java.util.Collection;

import org.json.JSONObject;

public enum ResourceType {
	BRICK, LUMBER, WOOL, ORE, GRAIN, SAND;
	public static ResourceType fromString(String s) {
		if(s.equals("BRICK")) {
			return BRICK;
		}
		else if(s.equals("LUMBER")) {
			return LUMBER;
		}
		else if(s.equals("WOOL")) {
			return WOOL;
		}
		else if(s.equals("ORE")) {
			return ORE;
		}
		else {
			return GRAIN;
		}
	}
}
